import java.io.*;
class CarManipulate{
	public static void main(String args[]){
		System.out.println("");		
		CarOptions car=new CarOptions("FERRARI","BLOOD RED","NEW",10000000,270,"Sports");
		car.DriveDetails();
		try
		{
		System.out.println("Enter new model: ");
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String modelName=br.readLine();
		car.changeCarModel(modelName);
		}
		catch(IOException e)
		{
			System.out.println("IO error trying to read your name!");
		         System.exit(1);
		}
	}
}
